package com.cddx.logistics.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysAnnouncementSendMapper {
    int updateAllReadFlagToRead();

    int insert(@Param("userId") Integer userId, @Param("anntId") Integer anntId, @Param("readFlag") Integer readFlag);

    // 新增：获取所有用户 ID
    List<Integer> getAllUserIds();
}
